﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;


public class TempTextDisplayer : MonoBehaviour
{

    private Text _text;

    // Start is called before the first frame update
    void Awake()
    {
        _text = GetComponent<Text>();
    }

    // Update is called once per frame
    void Update()
    {
        string result = "";
        foreach (SupplyItem item in GameManager.Instance.playerPawn.itemList)
        {
            result += item.type.ToString() + " ";
        }
        
        _text.text = result;
    }
}
